import Layout from '@/layout'

const router = {
    path: '/projectManagement',
    component: Layout,
    meta: {
        title: '国土综合整治'
    },
    children: [{
            path: 'districtProject/edit',
            name: '区县级综合整治项目',
            name: '综合整治项目新建',
            component: () =>
                import ('@/views/projectManagement/districtProject/edit'),
            meta: {
                title: '区县级综合整治项目',
                icon: 'item'
            },
            meta: {
                title: '综合整治项目新建',
                icon: 'item'
            }
        },
        {
            path: 'municipalProjectEdit',
            name: '市级综合整治项目',
            component: () =>
                import ('@/views/projectManagement/municipalProject/edit'),
            meta: {
                title: '市级综合整治项目',
                icon: 'item'
            }
        },
        // {
        //     path: 'municipalProjectEdit',
        //     name: '综合整治项目新建',
        //     component: () =>
        //     import('@/views/projectManagement/municipalProject/edit'),
        //     meta: { title: '综合整治项目新建', icon: 'item' }
        // },
        {
            path: 'projectInformation',
            name: '项目信息',
            component: () =>
                import ('@/views/projectManagement/projectInformation/detail'),
            meta: {
                title: '项目信息',
                icon: 'item'
            }
        },
        {
            path: 'planningStage',
            redirect: '/projectManagement/planningStage/dealwith',
            name: '可研规划阶段',
            component: () =>
                import ('@/views/projectManagement/planningStage/home'),
            meta: {
                title: '可研规划阶段',
                icon: 'item'
            },
            children: [{
                    path: 'list',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/index'),
                    name: '业务办理',
                    meta: {
                        title: '业务办理',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'dealwith',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/dealwith'),
                    meta: {
                        title: '业务办理',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    name: '业务办理',
                    hidden: true
                },
                {
                    path: 'fillInDistrictCounty',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/fillInDistrictCounty'),
                    name: '区县信息填报',
                    meta: {
                        title: '区县信息填报',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'countyReview',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/countyReview'),
                    name: '区县审查',
                    meta: {
                        title: '区县审查',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'townCentreAudit',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/townCentreAudit'),
                    name: '市中心审查',
                    meta: {
                        title: '市中心审查',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'countyReviewOpinions',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/countyReviewOpinions'),
                    name: '区县审查意见',
                    meta: {
                        title: '区县审查意见',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'townCentreReview',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/townCentreReview'),
                    name: '市中心审查意见',
                    meta: {
                        title: '市中心审查意见',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'feasibleConsulting',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/feasibleConsulting'),
                    name: '可研咨询',
                    meta: {
                        title: '可研咨询',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'administrativeReviewOpinions',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/administrativeReviewOpinions'),
                    name: '市局可行性研究行政审查意见',
                    meta: {
                        title: '市局可行性研究行政审查意见',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'exportedOpinionForm',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/exportedOpinionForm'),
                    name: '导出意见表',
                    meta: {
                        title: '导出意见表',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'feasibilityStudyApproval',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/feasibilityStudyApproval'),
                    name: '可行性研究批复',
                    meta: {
                        title: '可行性研究批复',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'applicationPlanningDesign',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/applicationPlanningDesign'),
                    name: '申请规划设计',
                    meta: {
                        title: '申请规划设计',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'planningDesign',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/planningDesign'),
                    name: '区县规划设计',
                    meta: {
                        title: '区县规划设计',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'cityCenterIssued',
                    component: () =>
                        import ('@/views/projectManagement/planningStage/process/cityCenterIssued'),
                    name: '市中心下发规划设计条件通知书',
                    meta: {
                        title: '市中心下发规划设计条件通知书',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                }
            ]
        },
        {
            path: 'projectImplementation',
            redirect: '/projectManagement/projectImplementation/dealwith',
            name: '项目实施阶段',
            component: () =>
                import ('@/views/projectManagement/projectImplementation/dealwith'),
            meta: {
                title: '项目实施阶段',
                icon: 'item'
            },
            children: [{
                    path: 'list',
                    component: () =>
                        import ('@/views/projectManagement/projectImplementation/index'),
                    name: '业务办理',
                    meta: {
                        title: '业务办理',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                },
                {
                    path: 'dealwith',
                    component: () =>
                        import ('@/views/projectManagement/projectImplementation/dealwith'),
                    name: '业务办理',
                    meta: {
                        title: '业务办理',
                        activeMenu: '/roles/list',
                        breadcrumb: false
                    },
                    hidden: true
                }
            ]
        },
        {
            path: 'preliminaryExamination',
            name: '区县期测绘成果初审',
            component: () =>
                import ('@/views/projectManagement/feasiblePlan/mappingResults/preliminaryExamination'),
            meta: {
                title: '区县期测绘成果初审',
                icon: 'item'
            }
        },
        {
            path: 'process',
            name: '审查流程',
            component: () =>
                import ('@/views/projectManagement/public/process'),
            meta: {
                title: '审查流程',
                icon: 'item'
            }
        },
        {
            path: 'unitSelection',
            name: '前期测绘单位选取',
            component: () =>
                import ('@/views/projectManagement/earlyMapping/unitSelection'),
            meta: {
                title: '前期测绘单位选取',
                icon: 'item'
            }
        },
        {
            path: 'unitInput',
            name: '前期测绘单位录入',
            component: () =>
                import ('@/views/projectManagement/earlyMapping/unitInput'),
            meta: {
                title: '前期测绘单位录入',
                icon: 'item'
            }
        },
        // {
        // 		path: 'preliminaryExamination',
        // 		name: '区县期测绘成果初审',
        // 		component: () =>
        // 		import('@/views/projectManagement/feasiblePlan/mappingResults/preliminaryExamination'),
        // 		meta: { title: '区县期测绘成果初审', icon: 'item' }
        // },
        //     {
        //         path: 'unitSelection',
        //         name: '前期测绘单位选取',
        //         component: () =>
        //         import('@/views/projectManagement/earlyMapping/unitSelection'),
        //         meta: { title: '前期测绘单位选取', icon: 'item' }
        //     },
        //     {
        //         path: 'unitInput',
        //         name: '前期测绘单位录入',
        //         component: () =>
        //         import('@/views/projectManagement/earlyMapping/unitInput'),
        //         meta: { title: '前期测绘单位录入', icon: 'item' }
        //     },
    ]
}
export default router